home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 6413 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 0a | 50 61 74 68 3a 20 64 69 |.lang.c.|Path: di|
|00000020| 73 63 75 73 2e 74 65 63 | 68 6e 69 6f 6e 2e 61 63 |scus.tec|hnion.ac|
|00000030| 2e 69 6c 21 63 73 64 21 | 65 6d 69 6c 64 0a 46 72 |.il!csd!|emild.Fr|
|00000040| 6f 6d 3a 20 4b 6f 68 6e | 20 45 6d 69 6c 20 44 61 |om: Kohn| Emil Da|
|00000050| 6e 20 3c 65 6d 69 6c 64 | 40 63 73 2e 74 65 63 68 |n <emild|@cs.tech|
|00000060| 6e 69 6f 6e 2e 61 63 2e | 69 6c 3e 0a 53 75 62 6a |nion.ac.|il>.Subj|
|00000070| 65 63 74 3a 20 52 65 3a | 20 48 65 6c 70 20 2d 20 |ect: Re:| Help - |
|00000080| 70 6f 69 6e 74 65 72 20 | 6e 6f 74 61 74 69 6f 6e |pointer |notation|
|00000090| 20 70 6c 65 61 73 65 2e | 2e 2e 20 0a 43 6f 6e 74 | please.|.. .Cont|
|000000a0| 65 6e 74 2d 54 79 70 65 | 3a 20 54 45 58 54 2f 50 |ent-Type|: TEXT/P|
|000000b0| 4c 41 49 4e 3b 20 63 68 | 61 72 73 65 74 3d 55 53 |LAIN; ch|arset=US|
|000000c0| 2d 41 53 43 49 49 0a 4f | 72 67 61 6e 69 7a 61 74 |-ASCII.O|rganizat|
|000000d0| 69 6f 6e 3a 20 54 65 63 | 68 6e 69 6f 6e 2c 20 49 |ion: Tec|hnion, I|
|000000e0| 73 72 61 65 6c 20 49 6e | 73 74 69 74 75 74 65 20 |srael In|stitute |
|000000f0| 6f 66 20 54 65 63 68 6e | 6f 6c 6f 67 79 0a 44 61 |of Techn|ology.Da|
|00000100| 74 65 3a 20 53 61 74 2c | 20 32 34 20 46 65 62 20 |te: Sat,| 24 Feb |
|00000110| 31 39 39 36 20 30 34 3a | 33 34 3a 33 34 20 47 4d |1996 04:|34:34 GM|
|00000120| 54 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 50 |T.Messag|e-ID: <P|
|00000130| 69 6e 65 2e 53 56 34 2e | 33 2e 39 31 2d 68 65 62 |ine.SV4.|3.91-heb|
|00000140| 2d 32 2e 30 34 2e 39 36 | 30 32 32 34 30 36 32 35 |-2.04.96|02240625|
|00000150| 34 31 2e 31 37 34 36 31 | 44 2d 31 30 30 30 30 30 |41.17461|D-100000|
|00000160| 40 63 73 2e 74 65 63 68 | 6e 69 6f 6e 2e 61 63 2e |@cs.tech|nion.ac.|
|00000170| 69 6c 3e 0a 4d 69 6d 65 | 2d 56 65 72 73 69 6f 6e |il>.Mime|-Version|
|00000180| 3a 20 31 2e 30 0a 49 6e | 2d 52 65 70 6c 79 2d 54 |: 1.0.In|-Reply-T|
|00000190| 6f 3a 20 3c 34 67 6a 65 | 6c 76 24 32 65 6b 40 6e |o: <4gje|lv$2ek@n|
|000001a0| 65 77 73 2e 6d 69 73 74 | 72 61 6c 2e 63 6f 2e 75 |ews.mist|ral.co.u|
|000001b0| 6b 3e 20 0a 58 2d 4e 6e | 74 70 2d 50 6f 73 74 69 |k> .X-Nn|tp-Posti|
|000001c0| 6e 67 2d 48 6f 73 74 3a | 20 63 73 64 2e 63 73 2e |ng-Host:| csd.cs.|
|000001d0| 74 65 63 68 6e 69 6f 6e | 2e 61 63 2e 69 6c 0a 52 |technion|.ac.il.R|
|000001e0| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 34 67 6a 65 |eference|s: <4gje|
|000001f0| 6c 76 24 32 65 6b 40 6e | 65 77 73 2e 6d 69 73 74 |lv$2ek@n|ews.mist|
|00000200| 72 61 6c 2e 63 6f 2e 75 | 6b 3e 20 0a 53 65 6e 64 |ral.co.u|k> .Send|
|00000210| 65 72 3a 20 6e 65 77 73 | 40 64 69 73 63 75 73 2e |er: news|@discus.|
|00000220| 74 65 63 68 6e 69 6f 6e | 2e 61 63 2e 69 6c 20 28 |technion|.ac.il (|
|00000230| 4e 65 77 73 20 73 79 73 | 74 65 6d 29 0a 58 2d 53 |News sys|tem).X-S|
|00000240| 65 6e 64 65 72 3a 20 65 | 6d 69 6c 64 40 63 73 64 |ender: e|mild@csd|
|00000250| 0a 0a 0a 0a 4f 6e 20 46 | 72 69 2c 20 32 33 20 46 |....On F|ri, 23 F|
|00000260| 65 62 20 31 39 39 36 2c | 20 4d 69 6b 65 20 42 61 |eb 1996,| Mike Ba|
|00000270| 72 6e 61 72 64 20 77 72 | 6f 74 65 3a 0a 0a 3e 20 |rnard wr|ote:..> |
|00000280| 48 69 2e 0a 3e 20 0a 3e | 20 49 27 76 65 20 72 65 |Hi..> .>| I've re|
|00000290| 61 64 20 6d 79 20 43 20 | 62 6f 6f 6b 2e 20 49 27 |ad my C |book. I'|
|000002a0| 76 65 20 67 6f 74 74 65 | 6e 20 74 68 20 43 20 46 |ve gotte|n th C F|
|000002b0| 41 51 2e 20 49 27 76 65 | 20 72 65 61 64 20 74 68 |AQ. I've| read th|
|000002c0| 65 20 66 69 6c 65 0a 3e | 20 22 70 74 72 74 75 74 |e file.>| "ptrtut|
|000002d0| 6f 72 2e 74 78 74 22 20 | 61 20 74 75 74 6f 72 69 |or.txt" |a tutori|
|000002e0| 61 6c 20 6f 6e 20 70 6f | 69 6e 74 65 72 73 2e 20 |al on po|inters. |
|000002f0| 42 75 74 20 49 20 68 61 | 76 6e 27 74 20 73 65 65 |But I ha|vn't see|
|00000300| 6e 20 65 78 70 6c 61 69 | 6e 65 64 20 74 68 65 0a |n explai|ned the.|
|00000310| 3e 20 66 6f 6c 6c 6f 77 | 69 6e 67 2e 20 43 61 6e |> follow|ing. Can|
|00000320| 20 79 6f 75 20 68 65 6c | 70 3f 0a 3e 20 0a 3e 20 | you hel|p?.> .> |
|00000330| 53 6f 6d 65 74 69 6d 65 | 73 20 77 68 65 6e 20 70 |Sometime|s when p|
|00000340| 72 6f 74 6f 74 79 70 69 | 6e 67 20 61 20 66 75 6e |rototypi|ng a fun|
|00000350| 63 74 69 6f 6e 20 74 68 | 65 20 66 75 6e 63 74 69 |ction th|e functi|
|00000360| 6f 6e 20 6e 61 6d 65 20 | 69 73 20 70 72 65 2d 66 |on name |is pre-f|
|00000370| 69 78 65 64 0a 3e 20 62 | 79 20 61 6e 20 61 73 74 |ixed.> b|y an ast|
|00000380| 65 72 69 73 6b 2e 20 57 | 68 79 3f 20 57 68 61 74 |erisk. W|hy? What|
|00000390| 20 64 6f 65 73 20 69 74 | 20 6d 65 61 6e 3f 0a 0a | does it| mean?..|
|000003a0| 0a 0a 31 29 20 54 68 65 | 20 66 75 6e 63 74 69 6f |..1) The| functio|
|000003b0| 6e 20 72 65 74 75 72 6e | 73 20 61 20 70 6f 69 6e |n return|s a poin|
|000003c0| 74 65 72 20 74 6f 20 73 | 6f 65 20 74 79 70 65 2e |ter to s|oe type.|
|000003d0| 20 53 75 63 68 20 61 73 | 3a 0a 0a 63 68 61 72 20 | Such as|:..char |
|000003e0| 2a 73 74 72 63 70 79 28 | 63 68 61 72 20 2a 73 31 |*strcpy(|char *s1|
|000003f0| 2c 20 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 73 32 |, const |char *s2|
|00000400| 29 3b 20 2f 2a 61 20 66 | 75 6e 63 74 69 6f 6e 20 |); /*a f|unction |
|00000410| 74 61 6b 69 6e 67 20 74 | 77 6f 20 70 6f 69 6e 74 |taking t|wo point|
|00000420| 65 72 73 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ers. | |
|00000430| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000440| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 6f 20 | | to |
|00000450| 63 68 61 72 20 61 6e 64 | 20 61 6e 64 20 72 65 74 |char and| and ret|
|00000460| 75 72 6e 69 6e 67 20 0a | 09 09 09 09 09 61 20 70 |urning .|.....a p|
|00000470| 6f 69 6e 74 65 72 20 74 | 6f 20 63 68 61 72 2a 2f |ointer t|o char*/|
|00000480| 0a 0a 0a 3e 20 0a 3e 20 | 50 75 74 74 69 6e 67 20 |...> .> |Putting |
|00000490| 61 6e 20 61 73 74 65 72 | 69 73 6b 20 62 65 66 6f |an aster|isk befo|
|000004a0| 72 65 20 61 20 76 61 72 | 69 61 62 6c 65 20 6e 61 |re a var|iable na|
|000004b0| 6d 65 20 64 65 63 6c 61 | 72 65 73 20 69 74 20 61 |me decla|res it a|
|000004c0| 73 20 61 20 70 6f 69 6e | 74 65 72 0a 3e 20 76 61 |s a poin|ter.> va|
|000004d0| 72 69 61 62 6c 65 2e 20 | 50 75 74 74 69 6e 67 20 |riable. |Putting |
|000004e0| 6f 6e 65 20 62 65 66 6f | 72 65 20 74 68 65 20 76 |one befo|re the v|
|000004f0| 61 72 69 61 62 6c 65 20 | 69 6e 20 75 73 65 20 6d |ariable |in use m|
|00000500| 65 61 6e 73 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |eans you| want to|
|00000510| 0a 3e 20 61 63 63 65 73 | 73 20 74 68 65 20 64 61 |.> acces|s the da|
|00000520| 74 61 20 70 6f 69 6e 74 | 65 64 20 74 6f 2e 20 57 |ta point|ed to. W|
|00000530| 68 79 20 69 73 20 74 68 | 65 72 65 20 73 6f 6d 65 |hy is th|ere some|
|00000540| 74 69 6d 65 73 20 61 6e | 20 61 73 74 65 72 69 73 |times an| asteris|
|00000550| 6b 20 41 46 54 45 52 20 | 61 0a 3e 20 76 61 72 69 |k AFTER |a.> vari|
|00000560| 61 62 6c 65 3f 0a 0a 4d | 61 79 62 65 20 69 74 20 |able?..M|aybe it |
|00000570| 69 73 20 74 68 65 20 6d | 75 6c 74 69 70 6c 69 63 |is the m|ultiplic|
|00000580| 61 74 69 6f 6e 20 6f 70 | 65 72 61 74 6f 72 2c 20 |ation op|erator, |
|00000590| 77 68 69 63 68 2c 20 63 | 6f 69 6e 63 69 64 65 6e |which, c|oinciden|
|000005a0| 74 61 6c 6c 79 20 69 73 | 20 27 2a 27 2c 20 74 6f |tally is| '*', to|
|000005b0| 6f 2e 0a 0a 3e 20 0a 3e | 20 41 6c 6c 20 68 69 6e |o...> .>| All hin|
|000005c0| 74 27 73 20 77 69 6c 6c | 20 62 65 20 6f 66 20 47 |t's will| be of G|
|000005d0| 52 45 41 54 20 75 73 65 | 2e 20 54 68 61 6e 6b 73 |REAT use|. Thanks|
|000005e0| 2e 0a 3e 20 0a 3e 20 2d | 2d 2d 0a 3e 20 4d 69 63 |..> .> -|--.> Mic|
|000005f0| 2e 0a 3e 20 46 72 6f 6d | 20 76 65 72 79 20 77 69 |..> From| very wi|
|00000600| 6e 64 79 20 61 6e 64 20 | 6e 6f 77 20 73 6e 6f 77 |ndy and |now snow|
|00000610| 79 20 57 6f 72 74 68 69 | 6e 67 3b 20 45 6e 67 6c |y Worthi|ng; Engl|
|00000620| 61 6e 64 2e 0a 3e 20 6d | 69 6b 65 62 61 72 6e 61 |and..> m|ikebarna|
|00000630| 72 64 40 6d 69 73 74 72 | 61 6c 2e 63 6f 2e 75 6b |rd@mistr|al.co.uk|
|00000640| 0a 3e 20 0a 3e 20 28 49 | 20 6a 75 73 74 20 6c 6f |.> .> (I| just lo|
|00000650| 73 74 20 34 20 66 65 6e | 63 65 20 70 61 6e 65 6c |st 4 fen|ce panel|
|00000660| 73 20 74 6f 20 74 68 65 | 20 77 69 6e 64 20 68 65 |s to the| wind he|
|00000670| 72 65 21 20 54 68 65 20 | 63 6f 73 74 20 6f 66 0a |re! The |cost of.|
|00000680| 3e 20 72 65 70 6c 61 63 | 69 6e 67 20 74 68 65 6d |> replac|ing them|
|00000690| 20 63 6f 75 6c 64 20 68 | 61 76 65 20 62 6f 75 67 | could h|ave boug|
|000006a0| 68 74 20 6d 65 20 61 20 | 6e 65 77 20 77 69 6e 64 |ht me a |new wind|
|000006b0| 6f 77 73 20 63 6f 6d 70 | 69 6c 65 72 21 29 0a 3e |ows comp|iler!).>|
|000006c0| 20 0a 3e 20 0a 20 0a 48 | 6f 70 65 20 74 68 69 73 | .> . .H|ope this|
|000006d0| 20 68 65 6c 70 73 2e 0a | 0a 0a 09 09 09 09 09 09 | helps..|........|
|000006e0| 52 65 67 61 72 64 73 2c | 20 0a 0a 09 09 09 09 09 |Regards,| .......|
|000006f0| 09 09 45 6d 69 6c 0a | |..Emil. | |
+--------+-------------------------+-------------------------+--------+--------+